package com.kevin.jdbc.dao;

import java.sql.SQLException;
import java.util.List;

import com.kevin.jdbc.dto.User;

public interface UserDao {

	public List<User> getUserByName(String name);

	public int addUser(User user) throws SQLException;

	public void updateUserMonery(String name, float money);

	public void deleteUser(String name);

	public void updateUserByTranction(String name) throws SQLException;

	public int procedureAddUser(User person) throws SQLException;

	public int batAddUser(User person) throws SQLException;

	List<User> getUserByNamepaging(String name);
}
